<head>
    <title>电子木鱼 功德无量</title>
<embed src="audio/background_music.mp3" hidden="true" autostart="true" loop="true">
    <link rel="shortcut icon" href="img/woden_fish.jpg" />
</head>

<body>
     <img class="img"  id="wooden_fish_img" src="img/woden_fish.jpg" onclick="play()"/>

        <audio src="audio/wooden_fish_click_sound.mp3" id="audio"/>
</body>

<script>
    function play(){
        var audio = document.getElementById('audio');
        audio.play();
    }
</script>

<style>
    body {
        background: url(img/budda_background.jpg) no-repeat center center fixed;
				/*兼容浏览器版本*/
                -webkit-background-size: cover;
	-o-background-size: cover;                
	background-size: cover;
}
    .img{
	position: relative;
	left: 50%;
	top: 60%;
	width:400px;
height:400px;
	transform: translate(-50%,-50%);
   }
        
</style>